﻿<%@ Page Title="" Language="C#" MasterPageFile="~/union/Template/_Main.Master" AutoEventWireup="true" CodeBehind="BrokerageDetail.aspx.cs" Inherits="CL.UnionWeb.union.BrokerageDetail" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

        <div id="RecordCount" style="display:none"><%=RecordCount%></div>
        <div id="PageIndex" style="display:none"><%=PageIndex%></div>
        <div id="PageSize" style="display:none"><%=PageSize%></div>
        <div class="tpl-content-wrapper">
            <div class="tpl-content-page-title">
                推广联盟系统
            </div>
            <ol class="am-breadcrumb">
                <li><a href="/union/index.aspx" class="am-icon-home">首页</a></li>
                <li><a href="#">我的佣金</a></li>
            </ol>
            <div class="tpl-portlet-components">
                <div class="portlet-title">
                    <div class="caption font-green bold">
                        <span class="am-icon-code"></span>我的佣金
                    </div>
                    <div class="tpl-portlet-input tpl-fz-ml">
                        <div class="portlet-input input-small input-inline">
                            <div class="input-icon right">
                            </div>
                        </div>
                    </div>
                </div>
                <%--内容 S--%>
                <div class="tpl-block">
                    <div class="am-g">
                        <div class="am-u-sm-12 am-u-md-3" style="float: right;">
                            <div class="am-input-group am-input-group-sm">
                                <input id="txtkey" value="<%=Keys %>" type="text" placeholder="月份 如：2017-01" class="am-form-field" />
                                <span class="am-input-group-btn">
                                    <button id="btnDetailSearch" class="am-btn  am-btn-default am-btn-success tpl-am-btn-success am-icon-search" type="button"></button>
                                </span>
                            </div>
                        </div>
                        <div class="am-u-sm-12 am-u-md-3" style="float: right;">
                            <div class="am-form-group">
                                <select id="ltLotteryCode" data-am-selected="{btnSize: 'sm'}">
                                    <option value="0">所有彩种</option>
                                    <option value="101">红快3</option>
                                    <option value="102">赢快3</option>
                                    <option value="201">华11选5</option>
                                    <option value="202">老11选5</option>
                                    <option value="301">老时时彩</option>
                                    <option value="801">双色球</option>
                                    <option value="901">超级大乐透</option>
                                </select>
                            </div>
                        </div>
                    </div>
                    <div class="am-g">
                        <div class="am-u-sm-12">
                            <form class="am-form" runat="server">
                                <table class="am-table am-table-striped am-table-hover table-main">
                                    <thead>
                                        <tr>
                                            <th class="table-title">月份</th>
                                            <th class="table-title">会员</th>
                                            <th class="table-type">彩种</th>
                                            <th class="table-type">佣金计算比例</th>
                                            <th class="table-type">佣金收入</th>
                                            <th class="table-type">会员消费</th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <% for (int i = 0; i < Entitys.Count; i++)
                                            {%>
                                        <tr>
                                            <td><%=Entitys[i].Moth %></td>
                                            <td><%=Entitys[i].UserName %></td>
                                            <td><%=SetLotteryName(Convert.ToInt32(Entitys[i].LotteryCode)) %> </td>
                                            <td><%=SetBrokerage(Convert.ToInt32(Entitys[i].LotteryCode)) %> </td>
                                            <td><%=CalculateBrokerage(Convert.ToInt64(Entitys[i].Brokerage)) %></td>
                                            <td><%=CalculateBrokerage(Convert.ToInt64(Entitys[i].Consume)) %></td>
                                        </tr>
                                        <% } %>
                                    </tbody>
                                </table>

                                <div class="am-cf">

                                    <div class="am-fr">
                                        <ul id="ul_pages" class="am-pagination tpl-pagination">
                                        </ul>
                                    </div>
                                </div>
                                <hr>
                            </form>
                        </div>

                    </div>
                </div>
                <%--内容 E--%>
            </div>
        </div>
        </asp:Content>
